package com.fg.cloud.manager.entry.system;

import com.fg.cloud.manager.entry.BaseEntity;

/**
  * Description:库存设置实体类
  * @author 陈银龙
  * @date 2017年8月7日上午11:33:29
 */
public class StockEntity extends BaseEntity{
	
	private static final long serialVersionUID = 8011945671198076022L;

	/**
	 * 厂商
	 * */
	private Long facId;

	/**
	 * 是否显示库存：1=显示,0=不显示
	 * */
	private Integer displayFlag;
	
	/**
	 * 是否显示库存数量：1=显示,0=不显示
	 * */
	private Integer numFlag;
	
	/**
	 * 库存模式：0=下单减库存,1=付款减库存
	 * */
	private Integer stockPattern;
	
	/**
	 * 是否无库存接单：1=是,0=否
	 * */
	private Integer zeroFlag;
	
	/**
	 * 上边界提示
	 * */
	private String maxPrompt;
	
	/**
	 * 库存上边界
	 * */
	private Integer maxBorder;
	
	/**
	 * 中间提示
	 * */
	private String middlePrompt;
	
	/**
	 * 下边界
	 * */
	private Integer minBorder;
	
	/**
	 * 下边界提示
	 * */
	private String minPrompt;
    
    /**
     * 备注
     * */
	private String remark;

	public Integer getStockPattern() {
		return stockPattern;
	}

	public void setStockPattern(Integer stockPattern) {
		this.stockPattern = stockPattern;
	}

	public String getMaxPrompt() {
		return maxPrompt;
	}

	public void setMaxPrompt(String maxPrompt) {
		this.maxPrompt = maxPrompt;
	}

	public Integer getMaxBorder() {
		return maxBorder;
	}

	public void setMaxBorder(Integer maxBorder) {
		if(maxBorder == null){
			this.maxBorder = 0;
		}else{
			this.maxBorder = maxBorder;
		}
	}

	public String getMiddlePrompt() {
		return middlePrompt;
	}

	public void setMiddlePrompt(String middlePrompt) {
		this.middlePrompt = middlePrompt;
	}

	public Integer getMinBorder() {
		return minBorder;
	}

	public void setMinBorder(Integer minBorder) {
		if(minBorder == null){
			this.minBorder = 0;
		}else{
			this.minBorder = minBorder;
		}
	}

	public String getMinPrompt() {
		return minPrompt;
	}

	public void setMinPrompt(String minPrompt) {
		this.minPrompt = minPrompt;
	}

	public Long getFacId() {
		return facId;
	}

	public void setFacId(Long facId) {
		this.facId = facId;
	}

	public Integer getDisplayFlag() {
		return displayFlag;
	}

	public void setDisplayFlag(Integer displayFlag) {
		this.displayFlag = displayFlag;
	}

	public Integer getNumFlag() {
		return numFlag;
	}

	public void setNumFlag(Integer numFlag) {
		this.numFlag = numFlag;
	}

	public Integer getZeroFlag() {
		return zeroFlag;
	}

	public void setZeroFlag(Integer zeroFlag) {
		this.zeroFlag = zeroFlag;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
